package com.ecelin.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("book_info")
@DS("datasource3")
public class BookInfo {

    @TableId(value = "ID",type = IdType.AUTO)
    private Long id;


    @TableField(value = "BOOK_NAME")
    private String bookName;

    @TableField(value = "BOOK_PRICE")
    private String bookPrice;
}
